package com.ruoyi.project.business.syscity.entity;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.model.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_city
 * 
 * @author ${author}
 * @date 2024-03-19
 */
@Data
public class SysCity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    private String code;

    /**  */
    @Excel(name = "")
    private String belongs;

    /**  */
    @Excel(name = "")
    private Long level;

    /**  */
    @Excel(name = "")
    private String name;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private Integer district;

    /** 租户ID */
    @Excel(name = "租户ID")
    private Long tenantId;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("belongs", getBelongs())
            .append("level", getLevel())
            .append("name", getName())
            .append("district", getDistrict())
            .append("tenantId", getTenantId())
            .toString();
    }
}
